const fs = require("fs");
const path = require("path");
const addon = require("../dist/binding.js");
const { setInterval } = require("timers");

// const cat = fs.readFileSync(path.join(__dirname, "deepcool.png"));

// setInterval(() => {
    const a = addon.imageToMatrix(path.join(__dirname, "deepcool.jpg"), "RGB565");
    console.log(a);
// }, 100)

// const b = addon.imageToMatrix(path.join(__dirname, "deepcool.jpg"), "RGB");
// console.log(b);
